package com.chinafree.business.model.result;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class PositionResult implements Serializable {

    private Integer value;
    private String label;
    private List<PositionSubResult> children;


    @Data
    public static class PositionSubResult {
        private Integer value;
        private String label;

        public PositionSubResult(Integer id, String name) {
            this.value = id;
            this.label = name;

        }
    }


}
